Create Campaign
AutomatR.TFMailchimp.Activities.CreateCampaign
The "Create Campaign" activity in AutomatR is part of the Mailchimp Campaign activities package, allowing users to create and configure a new campaign within their Mailchimp account.
Properties
Name | Description |
---|---|
Input | |
Audience Name | Specifies the targeted audience name for the campaign. String variables containing the audience name. |
Template Name | Specifies the name of the template to be used for the campaign. String variables containing the template name. |
Campaign Name | Specifies the name of the campaign. String variables containing the campaign name. |
Subject | Specifies the subject line of the campaign. String variables containing the subject. |
From Name | Specifies the "From" name to be displayed on the campaign. String variables containing the "From" name. |
Reply To | Specifies the reply-to email address for the campaign, required for sending. String variables containing the reply-to email address. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Create Campaign" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Campaign Response | Outputs the response from the campaign creation process. String variables containing the response with an encrypted response code. |
How to use:
- Drag and drop the "Create Campaign" activity onto the workflow.
- Configure the properties by specifying the audience name, template name, campaign name, subject, from name, and reply-to email address.
- Optionally, configure the delay property.
- Execute the workflow to create a new campaign in Mailchimp.
Example: Consider an example where the "Create Campaign" activity is used to create a new campaign named "NewsletterCampaign" targeting the audience "Subscribers," using the template "StandardTemplate":
Create Campaign:
Audience Name: "Subscribers"
Template Name: "StandardTemplate"
Campaign Name: "NewsletterCampaign"
Subject: "Latest Updates and Offers"
From Name: "ABC Company"
Reply To: "info@abccompany.com"
Delay: 2
Campaign Response: CampaignCreationResponse
In this example, the activity creates a new campaign with the specified properties. The response with an encrypted response code is stored in the string variable "CampaignCreationResponse" for further handling in the workflow.